# -*- coding: UTF-8 -*-
from app import app


class Service(object):
    def __init__(self):
        #self.db = app.db
        self.mongodb = app.mongodb
        pass

    def get_engine(self, engine="main"):
        #return self.db.get_engine(app, engine)
        pass

    def execute(self, sql, data=None, engine="main"):
        # if data is None:
        #     data = {}
        # return self.db.session.execute(sql, data, bind=self.get_engine(engine))
        pass
